package com.zz.io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Test {
    public static void main(String args[]) throws IOException {
        //1.创建文件字节输入流管道，与原文件接通
        InputStream is = new FileInputStream("D:\\代码\\javaSEpromax\\opp-app1\\src\\data\\test1.txt");
        int c = is.read();
        System.out.println((char)c);
    }
}
